﻿namespace LinkedTU.Common.Constants
{
    public static class ValidationConstants
    {
        #region Common

        public const int MaxUrlLength = 2048;

        #endregion

        #region Users

        public const int MinUsernameLength = 6;
        public const int MaxUsernameLength = 20;
        public const int MinNameLength = 2;
        public const int MaxNameLength = 15;
        public const int MaxHeadlineLength = 100;
        public const int MinProfileSummaryLength = 20;
        public const int MaxProfileSummaryLength = 3000;

        #endregion

        #region Certificates

        public const int MinCertificateLength = 2;
        public const int MaxCertificateLength = 50;

        #endregion

        #region Projects

        public const int MinProjectNameLength = 2;
        public const int MaxProjectNameLength = 25;
        public const int MinProjectDescriptionLength = 20;
        public const int MaxProjectDescriptionLength = 500;

        #endregion

        #region Course

        public const int MinCourseTitleLength = 2;
        public const int MaxCourseTitleLength = 20;
        public const int MinCourseDescriptionLength = 20;
        public const int MaxCourseDescriptionLength = 1000;
        public const int MaxTakenCourseNoteLength = 30;

        #endregion

        #region Companies

        public const int MinCompanyNameLength = 2;
        public const int MaxCompanyNameLength = 25;
        public const int MaxCompanyDescriptionLength = 2000;

        #endregion

        #region Comments

        public const int MinCommentContentLength = 10;
        public const int MaxCommentContentLength = 1500;

        #endregion

        #region Recommendations

        public const int MinRecommendationTextLength = 20;
        public const int MaxRecommendationTextLength = 2000;

        #endregion

        #region Countries

        public const int MinCountryCodeLength = 2;
        public const int MaxCountryCodeLength = 2;
        public const int MinCountryNameLength = 2;
        public const int MaxCountryNameLength = 40;

        #endregion

        #region Cities

        public const int MinCityNameLength = 2;
        public const int MaxCityNameLength = 30;

        #endregion

        #region JobPositions

        public const int MinJobPositionTitleLength = 5;
        public const int MaxJobPositionTitleLength = 50;

        #endregion
    }
}
